package vip.xiaonuo.push;

import cn.hutool.core.util.ObjectUtil;
import org.springframework.stereotype.Service;
import vip.xiaonuo.hontu.config.FileServerConfig;

@Service
public class PushJudgeUtil {

    public boolean needSend2FileServer(String url){
        return ObjectUtil.isNotNull(url) && url.startsWith("http") && !url.startsWith(FileServerConfig.serverAddress) ;
    }

}
